WCPay\WooPay\WooPay_Utilities A

Total Complexity 55
Dependencies 6
Dependents 10
Total lines 322
Lines of code 139
Logical lines of code 79
Comment lines 130
Methods 19
Properties 0

Methods 19

Method Rating Maintainability Complexity Lines of code
should_enable_woopay_on_cart_or_checkout()
A
59 9 14
should_save_platform_customer()
S
66 7 7
decrypt_signed_data()
S
56 5 17
encrypt_and_sign_data()
S
55 3 19
get_woopay_is_blocks()
S
72 4 4
get_woopay_phone()
S
64 3 9
get_woopay_viewport()
S
65 3 9
get_woopay_source_url()
S
65 3 9
get_woopay_url()
S
78 2 3
should_enable_woopay()
S
72 2 5
is_store_country_available()
S
66 2 8
is_country_available()
S
66 2 8
is_woopay_first_party_auth_enabled()
S
79 2 3
is_woopay_express_checkout_enabled()
S
79 2 3
get_persisted_available_countries()
S
68 2 7
get_woopay_request_signature()
S
71 1 5
is_guest_checkout_enabled()
S
78 1 3
get_woopay_rest_url()
S
78 1 3
is_woopay_email_input_enabled()
S
79 1 3